/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.snda.lidejia.jobflow.task;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author lidejia
 */
public abstract class AbstractTask implements Task {

    private Map<String, String> params = new HashMap<String, String>();

    public String getParam(String key) {
        return params.get(key);
    }

    public void addParam(String key, String value) {
        params.put(key, value);
    }
}
